package com.example.service;

import com.example.dao.PatientMapper;
import com.example.domain.Patient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class PatientService {
    @Autowired
    private PatientMapper patientMapper;

    public List<Patient> listAll(int patient_id) {
        return patientMapper.listAll(patient_id);
    }
}
